Operating voltage determination for an integrated circuit

ABSTRACT

Voltage-binning of individual integrated circuits is achieved by operating those integrated circuits at a plurality of required clock frequencies and for each of those frequencies determining the minimum supply voltage level which produces a pass result for a series of applied test vectors.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates to the field of integrated circuits. Moreparticularly, this invention relates to the determination of operatingvoltages for integrated circuits.

2. Description of the Prior Art

In the field of integrated circuits there is a drive to increaseprocessing performance by running integrated circuits at progressivelyhigher clocking frequencies. As a consequence of manufacturingtolerances within integrated circuits, a given integrated circuit maynot be capable of operating reliably at the intended clocking frequencyfor a given supply voltage. Accordingly, at the production stagefollowing fabrication, each integrated circuit is tested at a range oftest frequencies to determine the highest operating frequency that itcan support at the given supply voltage. The integrated circuits arethen categorised for use up to that highest operating frequency.

There is also a drive in the field of integrated circuits to improve theenergy efficiency of integrated circuits and operate at lower voltages.More power efficient systems have the advantage of prolonging batterylife in the end devices in which the integrated circuits areincorporated and of also reducing unwanted heat generation.

SUMMARY OF THE INVENTION

According to a first aspect the invention provides a method ofdetermining an operating voltage for an individual integrated circuit,said method comprising:

-   -   running said integrated circuit at a required operating        frequency;    -   executing a test sequence of data processing operations on said        integrated circuit to exercise critical paths of said integrated        circuit at each of at least a subset of a set of test voltages,        wherein successful execution of said test sequence at a given        test voltage indicates that said integrated circuit can reliably        sustain said required operating frequency at said given test        voltage;    -   identifying a lowest test voltage from said subset of test        voltages for which said test sequence was successfully executed;    -   determining said operating voltage for said individual        integrated circuit at said required operating frequency in        dependence upon said lowest test voltage.

The present invention recognises that rather than categorising groups ofintegrated circuits according to the highest frequencies that they canreliably support at a given supply voltage, individual integratedcircuits may be categorised according to the lowest voltage that isrequired to reliably sustain a required operating frequency. This meansthat variations in the integrated circuit fabrication, such variationsas doping levels, can be taken into account on a circuit by circuitbasis by actively testing the lowest voltage that an individualintegrated circuit can sustain in order to reliably operate at therequired frequency. This means that, unlike known frequency binningtechniques, there is no need to build in substantial margins into thespecified operating voltage (effectively increasing the operatingvoltage significantly above the required minimum voltage) to account forvariations in the fabrication process. Accordingly, on a specificintegrated circuit the operating voltage determined according to thepresent technique may be lowered by hundreds of millivolts with regardto the operating voltage determined for the corresponding group offrequency binned integrated circuits. Running at a lower operatingvoltage makes more efficient use of available energy.

Although the operating voltage could be determined for a single requiredoperating frequency, in preferred embodiments the operating voltage isdetermined for a plurality of required operating frequencies. This isparticularly useful in data processing devices that support multipleoperating points since an energy efficient voltage can be individuallydetermined for each of the possible clocking frequencies.

In preferred embodiments the test sequence of data processing operationsused to exercise critical paths of the integrated circuit is either asequence of data processing instructions, for example executed by acomputer program, or a sequence of test signals applied to theintegrated circuit, for example by hardware.

Although the determined operating voltage could be any voltage orcombination of voltages applied to the individual integrated circuit, inpreferred embodiments the operating voltage is either a supply levelvoltage or a body bias voltage. Either the body bias voltage or thesupply level voltage may be adjusted in a manner that enables support tobe provided for the required clock frequency yet allows for moreefficient use of energy. Furthermore, the body bias voltage may bedetermined and tuned to control the leakage current during standbyoperation of the integrated circuit.

It will be appreciated that the operating voltage could be determinedsuch that it is substantially equal to the lowest test voltage. However,in preferred embodiments, the operating voltage is determined such thatit is higher than the lowest test voltage by a predetermined amount.This reduces the likelihood of failure of the integrated circuit due tothe lowest test voltage not being able to support the required frequencywhen there is a change in environmental conditions or due to any errorsin identification of the lowest test voltage.

It will be appreciated that the set of voltages could be tested in anyorder such as the order in which they are retrieved from a look-up tablein memory. Furthermore, different subsets of the set of test voltagesmay be tested at different times. However, in preferred embodiments thetest sequence is first executed at the highest test voltage of the setand the test voltage is progressively reduced until a value isencountered at which successful execution of the test sequence fails.This makes the testing process more time-efficient since it reduces thesubset of voltages from the set that need be tested by eliminating alltest voltages lower than a failed test voltage.

Although the determined operating voltage and required operatingfrequency could be stored in a storage module that is distinct from theintegrated circuit, in preferred embodiments the operating voltage andrequired operating frequency are stored in a storage module that isassociated with the individual integrated circuit such as, for example,in programmable read only memory or on a bar code applied to thepackaging of the integrated circuit. This allows an appropriateoperational voltage level to be applied to the individual integratedcircuit at the time of its implementation in a larger system or in anend device.

It will be appreciated that the operating voltage determination could beperformed at any of several different stages of implemention of theintegrated circuit. According to one preferred embodiment the operatingvoltage determination is performed upon fabrication of the integratedcircuit thus allowing the individual integrated circuit to becategorised according to the lowest test voltage for the requiredfrequency before its incorporation in a larger circuit. This allows forthe operating voltage to be fine-tuned such that it is appropriate tothe individual integrated circuit rather than generally appropriate fora batch of categorised integrated circuits.

According to a further preferred embodiment the operating voltagedetermination is performed upon coupling the integrated circuit tofurther circuit elements within a larger circuit. Thus, the operatingvoltage determination is assessed in the context of the actualprocessing environment in which the integrated circuit is situated sothat environmental parameters, such as temperature, that are specific tothe larger circuit and that may affect the lowest test voltage are takeninto account.

According to a yet further preferred embodiment the operating voltagedetermination is performed whilst the integrated circuit is incorporatedwithin an end device. Again, this enables the actual processingenvironment to be taken into account in determining the lowest testvoltage.

It will be appreciated that the operating voltage determination may beperformed at any time and could be repeated any number of times asrequired. However, it is preferred that when the integrated circuit isincorporated within an end device the operating voltage determination isperformed at at least one of a first boot of the end device and everyboot of the end device. Voltage determination at first boot ensures thatthe operating voltage is appropriate for the specific operatingenvironment of the end device and specifically tuned to the individualintegrated circuit within the end device, rather than being pre-setaccording to voltage margins appropriate for a batch of integratedcircuits. Voltage determination on every boot of the end device enablesthe determined operating voltage to be recalculated so that if forexample any modifications have been made to the end device, these may betaken into account on the next boot of the end device.

According to a further preferred embodiment the operating voltagedetermination is performed periodically during operation of the enddevice so that prevailing operating conditions such as temperature andprocessing workload can be taken into account.

In preferred embodiments a state of the end device is saved prior toperforming the operating voltage determination and the state is restoredafter the operating voltage has been determined. This allows the voltagedetermination to be performed at times other than boot up of the device,that is, during normal operation without compromising the processingoperations being performed by the device prior to initiation of theoperating voltage determination process.

Although the operation voltage determination could be performed at anytime, in preferred embodiments the operating voltage determination isperformed upon detection of one or more predetermined operatingconditions of the end device. In particular, on determination of apredetermined temperature change, the predetermined temperature change(for example 5° C.) being of a magnitude likely to result in a change inthe operating voltage needed to support the required clocking frequency.Furthermore the operational voltage determination could be performed independence upon whether the end device is operating from a mains powersupply or a battery power supply. Accordingly, a more energy efficientoperating voltage may be used only when there is a desire to prolong thelifetime of the battery.

Although the operational voltage determination could be performed onlyon boot up or during normal operation of the end device, in preferredembodiments operational voltage determination is initiated when theintegrated circuit within the end device is in a standby state toidentify a body bias voltage that results in a lowest leakage currentfor a current charge level of the battery. This provides a mechanism forreducing power consumption in standby mode thereby prolonging batterylifetime.

According to a second aspect the invention provides an apparatuscomprising:

-   -   an individual integrated circuit;    -   a storage module associated with said individual integrated        circuit storing an operating voltage and a required operating        frequency for said individual integrated circuit, the operating        voltage having been determined by:    -   running said integrated circuit at said required operating        frequency;    -   executing a test sequence of data processing operations on said        integrated circuit to exercise critical paths of said integrated        circuit at each of at least a subset of a set of test voltages,        wherein successful execution of said test sequence at a given        test voltage indicates that said integrated circuit can reliably        sustain said required operating frequency at said given test        voltage;    -   identifying a lowest test voltage from said subset of test        voltages for which said test sequence was successfully executed;    -   determining said operating voltage for said individual        integrated circuit at said required operating frequency in        dependence upon said lowest test voltage.

According to a third aspect the invention provides a computer programproduct bearing a computer program for controlling a data processingapparatus to determine an operating voltage for an individual integratedcircuit, said computer program comprising:

-   -   frequency setting code operable to run said integrated circuit        at a required operating frequency;    -   execution code operable to execute a test sequence of data        processing operations on said integrated circuit to exercise        critical paths of said integrated circuit at each of at least a        subset of a set of test voltages, wherein successful execution        of said test sequence at a given test voltage indicates that        said integrated circuit can reliably sustain said required        operating frequency at said given test voltage;    -   voltage identifying code operable to identify a lowest test        voltage from said subset of test voltages for which said test        sequence was successfully executed; and    -   operating voltage determining code operable to determine said        operating voltage for said individual integrated circuit at said        required operating frequency in dependence upon said lowest test        voltage.

The above, and other objects, features and advantages of this inventionwill be apparent from the following detailed description of illustrativeembodiments which is to be read in connection with the accompanyingdrawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 schematically illustrates an integrated circuit in the form of aprocessor core (CPU);

FIG. 2 is a graph schematically representing the relationship betweenthe minimum required supplied rail voltage and operational clockfrequency of an integrated circuit;

FIG. 3 is a graph schematically illustrating the relationship betweencurrent draw during standby and body bias voltage for an integratedcircuit.

FIG. 4 schematically illustrates an embodiment for characterising anintegrated circuit within a test rig upon manufacture of the integratedcircuit;

FIG. 5 schematically illustrates two possibilities for storingoperational voltage characteristics of an individual integrated circuitassociated with that individual integrated circuit;

FIG. 6 schematically illustrates a printed circuit board into which anintegrated circuit which may be subject to the above characterisationhas been inserted and for which multiple voltage domains are provided;

FIG. 7 schematically illustrates an end device, in the form of a mobiletelephone, incorporating an integrated circuit which is subject tooperational voltage characteristic determination during use;

FIG. 8 schematically illustrates a system-on-chip integrated circuitincorporating circuits for the operational voltage characterisation of aprocessor core within that system-on-chip integrated circuit; and

FIG. 9 is a flow diagram schematically illustrating the process fordetermining the operational voltage characteristics of an integratedcircuit.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 1 illustrates an integrated circuit 2 in the form of a processorcore incorporating a register bank 4, a multiplier 6, a shifter 8, anadder 10, an instruction pipeline 12 and an instruction decoder 14. Inoperation program instructions received into the instruction pipeline 12are decoded by the instruction decoder 14 which generates controlsignals for controlling the operation of the register bank 4, themultiplier 6, the shifter 8 and the adder 10 as well as further circuitelements (not illustrated) to perform data processing operationsspecified by the program instructions.

The integrated circuit 2 is supplied by a processor clock signal clkgenerated by a clock generator 16. This clock signal clk can havedifferent frequencies, these frequencies being dynamically altereddepending upon the performance required of the integrated circuit 2 at aparticular point in time. As an example, if the integrated circuit 2 isrequired to perform a processing intensive task, such as moving imagedecoding and display, then the clock frequency will be set to a highvalue so as to yield the desired processing performance. Conversely,when the processor is idle, the clock frequency can be set to a lowvalue so reducing power consumption.

A power supply 18 is also coupled to the integrated circuit 2 andsupplies a supply rail voltage Vdd as well as a body bias voltage Vbb tothe integrated circuit 2. For a given clock frequency there will be aminimum required supply rail voltage Vdd needed to support operation atthat clock frequency. If the supply rail voltage falls below thisminimum value then one or more critical paths within the integratedcircuit 2 will be unable to complete their operation within the requiredtime determined by the clock frequency and the integrated circuit willfail to operate correctly, i.e. in the case of a processor core thesystem will crash.

The body bias voltage Vbb may be varied to control the leakage currentduring standby operation of the integrated circuit, i.e. when theintegrated circuit is not being clocked but is required to hold state.As an alternative, the supply rail voltage may be constant for differentclock frequencies but the body bias voltage adjusted for those differentfrequencies to thereby adjust the difference between the supply railvoltage and the body bias voltage in a manner which enables support tobe provided to the different required clock frequencies.

It will be appreciated that the desire to operate an integrated circuitat the minimum necessary supply rail voltage needed for a given clockfrequency is derived from a desire to reduce the energy consumption ofthe integrated circuit. Reduced energy consumption is advantageous as itcan give increased battery life in mobile computing devices, reducedenergy density and heating problems in high performance devices and forother reasons. Similarly, the reduction in the leakage current duringstandby is also desirable for reducing energy consumption and heatgeneration and extending battery life.

FIG. 2 schematically illustrates the relationship between the minimumrequired supply rail voltage Vdd_(min) and the clock frequency which itis required to support. It will be seen that the minimum supply voltageVdd_(min) generally reduces as the required clock frequency reduces butthis is a non-linear relationship and below certain clock frequenciesthe minimum supply rail voltage effectively remains constant. Inpractice, in order to achieve reliable operation it will be desirable tosupply the integrated circuit 2 with a supply rail voltage Vdd which isa little above the minimum determined supply rail voltage Vdd_(min). Themargin built in may be relatively small if the minimum supply railvoltage has been calculated for the individual integrated circuit 2rather than a more cautious determination based upon worst-casescenarios for the general class of integrated circuits concerned. As anexample, a worst-case scenario based system might use a supply railvoltage 20% greater than that estimated to be the minimum supply railvoltage for an average integrated circuit in order to provide sufficientbuffer that an individual integrated circuit with below averagetolerance to low supply rail voltage will still operate correctly. Incontrast, when the minimum supply rail voltage has been determined foreach individual integrated circuit 2, then a much smaller buffer can beused, e.g. 5%, with a consequent significantly advantageous reduction inenergy consumption and heating.

FIG. 3 schematically illustrates the relationship between current drawnduring standby and body bias voltage Vbb for an integrated circuit.During standby operation it is known to stop the clock of an integratedcircuit whilst requiring that integrated circuit to maintain its currentstate. In order to do this the integrated circuit must continue to besupplied with power. However, as integrated circuits start to be formedof ever smaller circuit components the leakage current during the staticstate of the circuit components starts to become a significant factor.In order to control this leakage current it is known to utilisedifferent body bias voltage levels. For a given individual integratedcircuit there will be a body bias voltage that produces the minimumcurrent draw during standby, i.e. a given body bias voltage thatminimises the current leakage. This is the relationship which is shownin FIG. 3.

FIG. 4 schematically illustrates an integrated circuit 20 which has beenfabricated and packaged. This integrated circuit 20 is inserted within atest rig 22. The test rig 22 includes a clock generator 24 and a powersupply 26. The test rig 22 also incorporates a test vector generator 28which serves to generate test vector signals which are applied to theintegrated circuit 20. It will be appreciated that these test vectorsignals might be applied to input pins of the integrated circuit 20 orscanned into a test scan chain of the integrated circuit 20. These testvectors are designed to stimulate the critical paths of the integratedcircuit 20 to determine whether or not those critical paths meet theoperational timing requirements. The stimulation of critical paths bytest vectors for manufacturing test is a known technique within theintegrated circuit field and in itself will not be described furtherherein.

Testing the critical paths within the integrated circuit 20 withappropriate test vectors to determine a pass/fail result is performed ata plurality of different required clock frequencies at which theintegrated circuit 20 is driven by the clock generator 24. At each ofthese different required clock frequencies the test vectors are appliedand a pass/fail result determined at a plurality of different supplyrail voltages Vdd. In practice the integrated circuit will pass its testfor the applied test vectors whilst the supply rail voltage is abovesome minimum supply rail voltage Vdd_(min) for the clock frequencyconcerned as illustrated in FIG. 2. Once the supply rail voltage Vddfalls below this minimum value Vdd_(min), then the integrated circuitwill fail the test vectors. Thus, the minimum required supply railvoltage for the clock frequency concerned can be determined for theindividual integrated circuit 20.

It will be appreciated that different integrated circuits will havedifferent characteristics as they vary due to variations in themanufacturing process, e.g. variations in the particular doping levelsachieved, the accuracy with which the individual integrated circuit hasbeen formed, the characteristics of the packaging of the integratedcircuit etc. Thus, rather than relying upon a minimum supply railvoltage determined to be safe for that whole class of integratedcircuits using a relatively large safety margin, an individual minimumsupply rail voltage can be determined for the particular integratedcircuit concerned in a manner which allows for an advantageous reductionin the energy consumption and heat generation of the integrated circuitconcerned.

As will be seen in FIG. 4, the sequence of tests performed by the testrig 22 upon the individual integrated circuit 20 results in thedetermination of a set of operational supply rail voltages associatedwith different operating frequencies of the integrated circuit 20together with an operational body bias voltage. These operational valuesof the supply rail voltage and/or the body bias voltage are set a smallmargin above the determined minimum values so as to improve reliabilitydue to small changes in the operational characteristics of theintegrated circuit with time or other factors, such as environmentalfactors.

The data determined for the individual integrated circuit 20 regardingits required supply rail voltage and/or body bias voltage is associatedwith the integrated circuit concerned. FIG. 5 illustrates two ways inwhich this data may be associated with the integrated circuit. Inembodiment a) the set of supply rail voltages to be used for differentrequired clock frequencies are stored within a programmable read-onlymemory within the integrated circuit together with the operational bodybias voltage. These parameters may then be read from this programmableread-only memory by a power supply circuit which is later used with theindividual integrated circuit concerned to enable the power supplycircuit to fine-tune the voltages it supplies to match that individualintegrated circuit.

The embodiment b) of FIG. 5 illustrates the voltage data determined inrelation to FIG. 4 being associated with the individual integratedcircuit concerned by being encoded within a barcode upon a stickerapplied to the packaging of the integrated circuit. This barcode thentravels with the individual integrated circuit after it has been testedwithin the test rig 22 and may be read automatically during subsequentmanufacture operation in a manner which can then be used to program aparticular power supply circuit which is to be used with that integratedcircuit so as to match the voltages produced by that power supplycircuit to the individual integrated circuit concerned.

FIG. 6 illustrates a further example embodiment of the presenttechnique. In this embodiment a printed circuit board 30 has been formedincorporating multiple integrated circuits including a CPU 32, a RAMmemory 34, further integrated circuits 36, 38 and a power supply andfinite state machine controller 40 (this type of arrangement may also befound with a system-on-chip device). The printed circuit boardillustrated is shown as being divided into a plurality of differentvoltage domains, A, B, C and D. These voltage domains may be separatelycontrolled by the power supply and finite state machine controller 40.Thus, the CPU 32 may be supplied with a supply rail voltage which isvaried in dependence upon the required operating clock frequency of theCPU 32 at that particular time. The same technique may be used with theRAM memory 34 within the different voltage domain C. The furtherintegrated circuits 36, 38 may share a voltage domain which may besupplied with a constant supply voltage as the integrated circuitsconcerned may not support multiple voltage levels.

The power supply and finite state machine controller 40 is operable toperform required supply voltage characterisation for the individual CPU32 which has been built into the printed circuit board 30 concerned. Fora given clock frequency and supply rail voltage the test vectors areapplied under control of the finite state machine controller and apass/fail result determined. Starting at the highest supply rail voltagelevels and steadily decreasing these a point is reached at which a failresult first occurs. This can be used to determine the minimum requiredsupply rail voltage as being the last voltage which produced a passresult. An operational supply rail voltage may be determined from thislast supply rail voltage which produced a pass result by adding somesmall margin, e.g. a fixed voltage increment or a fixed percentageincrement etc.

As previously mentioned, the supply voltage characterisation may beperformed as a one-time operation as part of manufacturing test of theprinted circuit board 30. Alternatively, this task could be performedwhen the printed circuit board 30 was first booted when incorporatedwithin an end device or when first booted during part of the testing ofthe printed circuit board 30. It is also possible that the power supplyand finite state machine controller 40 could conduct this voltagecharacterisation on every subsequent boot of the printed circuit board30 within the end device or at periodic intervals or upon detection ofpredetermined environmental conditions as will be described later.

The power supply and finite state machine controller 40 may apply thevoltage characterisation technique described above to other of thevoltage domains within the printed circuit board 30. As an example, theRAM memory 34 may be capable of operating at different supply voltageswithin different power consumption characteristics and the power supplyand finite state machine controller 40 may be used to determine theoperational supply voltage characteristics for the individual RAM memoryintegrated circuit 34 which has been built into the printed circuitboard 30. Other of the voltage domains, such as domain D containing thefurther integrated circuits 36, 38, may not be capable of supportingmultiple operating voltages or of being tested in a pass/fail manner, asmay be done by exercising the critical paths of the CPU 32 or the memorystorage capabilities of the RAM memory 34, and accordingly the voltagecharacterisation technique may not be used for these further integratedcircuits.

FIG. 7 illustrates an end device in the form of a mobile telephone 42..This end device could take a variety of different forms beyond that of amobile telephone, such as a personal digital assistant, a GPS unit, anMP3 player, a digital camera, etc. Within the end device 42 there isincluded a central processing unit 44 and a power supply and finitestate machine controller 46. The required supply voltagecharacterisation of the CPU 44 may be performed in accordance with theabove described techniques by the power supply and finite state machinecontroller 46 when the CPU 44 has been incorporated within the enddevice 42. As an example, the characterisation may be performed on thefirst boot of the 42 (the “golden boot”), on every boot of the device,at periodic intervals, such as every fifteen minutes, or in response todetection of predetermined environmental condition changes, such as atemperature variation of a given size or the removal of a mains powersupply requiring a reversion to a battery power supply. Thus, therequired supply voltage may be adjusted to match the individualintegrated circuit 44 as well as the environmental conditions concerned.The voltage characterisation may be performed on each occasion for thefull range of operating frequencies concerned. Alternatively, only themost common of these operating frequencies may be checked regularly withthe least common or least likely to change being checked only on thefirst boot or less frequently that the regular check. Thus, theprocessing overhead associated with the periodic supply voltagerequirement characterisation can be reduced or at least focused upon themost critical values concerned.

FIG. 8 schematically illustrates a system-on-chip integrated circuit 48to which the present technique is applied. This integrated circuit 48includes a processor core 50 which can operate at different clockfrequencies generated by a dynamic clock generator 52 and supplied witha plurality of different supply rail voltages generated by a dynamicvoltage controller 54. A characterisation controller 56 acts to subjectthe processor core 50 to the required supply voltage characterisationtesting at different clock frequencies as discussed above using clockfrequencies generated by the dynamic clock generator 52 at a sequence ofsupply voltages as controlled by the dynamic voltage controller 54controlling a power supply unit 58. If this voltage characterisation isto be performed during normal operation of the integrated circuit 48,then it will be appreciated that the state of the system needs to besaved prior to the required supply voltage characterisation testing asthis is “destructive testing” since it forces a failure and wouldotherwise lose state. Accordingly, the characterisation controller 56triggers storage of the state of the integrated circuit 48 into a memory60 via a memory controller 62. Once the required supply voltagecharacterisation has been performed the previous state of the integratedcircuit 48 can be restored from the memory 60 and normal processingresumed. The system-on-chip integrated circuit 48 may also have multiplevoltage domains with on-chip memory used for store/restore operations asthis would reduce the energy cost associated with such store/restoreoperations.

A system-on-chip system may also include multiple power domains severalor all of which may be subject to characterisation for lowest voltagewith multiple voltage regulators being provided to supply the necessaryvoltages.

FIG. 9 is a flow diagram schematically illustrating the required supplyvoltage characterisation technique. When a characterisation operation istriggered, such as upon a first boot of the device, upon every boot ofthe device, at a periodic interval, upon detection of a particularchange in environmental conditions etc, the system starts processing atstep 64 where the initial state of the system is saved and an initialclock frequency to be characterised is set. At step 66 a maximum supplyvoltage for the clock frequency under test is determined, such as from alookup table. At step 68, the frequency being tested is set and thevoltage is set and applied to the integrated circuit under test. At step70 the test vectors are run against that integrated circuit. It will beappreciated that in the embodiment of FIG. 4 and FIG. 6 the test vectorsare applied as test signals. The test vectors may also be provided inthe form of running predetermined test program instructions of acomputer program running on the integrated circuit which are known toexercise the critical paths of the integrated circuit. In an end devicethe execution of such test software is more convenient to provide thanthe application of test vector signals. Furthermore, such execution maybe more readily controlled by a supervising operating system or undercontrol of appropriate interrupts and/or reset signals.

Subsequent to the running of the test vectors at step 70, step 72determines whether or not the integrated circuit has properly completedthe data processing operation specified and accordingly whether or not apass result has been generated. If a pass result has been generated,then processing proceeds to step 73 at which a determination is made asto whether or not the minimum supply voltage within the span of the testset of voltages has been reached for that frequency. If the limit forthe set has not yet been reached then step 76 decrements the currentsupply voltage value and processing returns to step 68. If the minimumsupply voltage has been reached (this minimum being one constrained forexample by the power supply circuit or fail safe minimums imposed by thedesign engineers), then processing proceeds to step 78 where anappropriate safety margin is added and the dynamic voltage controller 54is programmed. Step 80 then determines whether or not all the requiredclock frequencies have yet been tested. If there are further clockfrequencies to be tested, then the next of these is selected at step 82and processing returns to step 66. If all of the required clockfrequencies had been tested, then step 84 serves to restore the state ofthe integrated circuit using the state that initially saved at step 64.

If the test at step 72 indicates that the test vectors produced a failresult, then this has effectively determined the minimum requiredsupplied voltage for the individual integrated circuit concerned to meetits critical path timings and step 74 serves to select the previouslytested supply voltage level as the one to be subject to appropriatemargin padding and use by the dynamic voltage controller 54 asprogrammed by step 78.

It will be appreciated that FIG. 9 illustrates the technique forestablishing an operational supply voltage level determined for anindividual integrated circuit at a plurality of different operatingclock frequencies. A similar approach may be used to determine anoperating body bias voltage level to be used during standby. However,the device measuring and reacting to the standby voltages and leakagecurrents would need to be separate and on its own voltage domain as itwould need to keep operating when the other circuit were in standby. Forthe body bias voltage determination the clock is stopped and a pluralityof body bias voltages utilised whilst measuring the leakage currentdrawn for each. Once the range of body bias voltages have been testedthen the one which produced the least leakage current is determined andfrom this an appropriate operational body bias voltage determined byadding a suitable margin etc.

It will be appreciated that the above-described techniques for thesupply voltage characterisation of an individual integrated circuit areonly some examples of how this technique may be used. Further techniqueswhich operating voltage bin individual integrated circuits may beutilised. Voltage binning of individual integrated circuits so as toenable selection of those with the best energy consumptioncharacteristics and/or the tuning of the use of the integrated circuitsto produce improved energy consumption performance for a particularintegrated circuit may be achieved in a variety of ways in accordancewith the above described general techniques and is stronglyadvantageous.

Although illustrative embodiments of the invention have been describedin detail herein with reference to the accompanying drawings, it is tobe understood that the invention is not limited to those preciseembodiments, and that various changes and modifications can be effectedtherein by one skilled in the art without departing from the scope andspirit of the invention as defined by the appended claims.

1. A method of determining an operating voltage for an individualintegrated circuit, said method comprising: running said integratedcircuit at a required operating frequency; executing a test sequence ofdata processing operations on said integrated circuit to exercisecritical paths of said integrated circuit at each of at least a subsetof a set of test voltages, wherein successful execution of said testsequence at a given test voltage indicates that said integrated circuitcan reliably sustain said required operating frequency at said giventest voltage; identifying a lowest test voltage from said subset of testvoltages for which said test sequence was successfully executed;determining said operating voltage for said individual integratedcircuit at said required operating frequency in dependence upon saidlowest test voltage.
 2. A method as claimed in claim 1, wherein anoperating voltage is determined for each of a plurality of requiredoperating frequencies.
 3. A method as claimed in claim 1, wherein saidtest sequence is one of: a sequence of data processing instructions; anda sequence of test signals applied to said integrated circuit.
 4. Amethod as claimed in claim 1, wherein said operating voltage includes asupply level voltage.
 5. A method as claimed in claim 1, wherein saidoperating voltage includes a body bias voltage.
 6. A method as claimedin claim 1, wherein said operating voltage is determined such that it ishigher than said lowest operating voltage by at least a predeterminedmargin.
 7. A method as claimed in claim 1, wherein said subset of testvoltages is derived from said set of test voltages by first executingsaid test sequence at a highest voltage of said set of test voltages andprogressively reducing said test voltage and executing said testsequence until a test voltage of said set of test voltages isencountered at which successful execution of said test sequence fails.8. A method as claimed in claim 1, wherein said operating voltage andsaid required operating frequency are stored in a storage moduleassociated with said integrated circuit.
 9. A method as claimed in claim8, wherein said memory is programmable read only memory.
 10. A method asclaimed in claim 8, wherein said storage module is a bar code applied topackaging of said individual integrated circuit.
 11. A method as claimedin claim 1, wherein said method is performed upon fabrication of saidintegrated circuit prior to incorporating said integrated circuit withina larger circuit.
 12. A method as claimed in claim 1, wherein saidmethod is performed upon coupling said integrated circuit to furthercircuit elements within a larger circuit.
 13. A method as claimed inclaim 1, wherein said method is performed whilst said integrated circuitis incorporated within an end device.
 14. A method as claimed in claim13 wherein said method is performed at at least one of: a first boot ofsaid end device; and every boot of said end device.
 15. A method asclaimed in claim 13, wherein said method is performed periodicallyduring operation of said end device.
 16. A method as claimed in claim13, wherein said method is performed upon detection of one or morepredetermined operating conditions of said end device.
 17. A method asclaimed in claim 15, wherein a state of said end device is saved priorto performing said method and said state is restored once said operatingvoltage has been determined.
 18. A method as claimed in claim 16,wherein said predetermined operating conditions comprise whether saidend device is operating from a mains power supply or a battery powersupply.
 19. A method as claimed in claim 13, wherein said method isperformed upon detection of a predetermined temperature change of saidend device.
 20. A method as claimed in claim 13, wherein said end devicecomprises a battery operable to supply power to said end device and saidend device can be set to a standby mode, said method comprising thesteps of: setting said integrated circuit to a standby state; testingsaid integrated circuit at each of a set of test body bias voltages toidentify a test body bias voltage that results in a lowest leakagecurrent for a current charge level of said battery; setting anoperational body bias voltage in said standby mode in dependence uponsaid identified test body bias voltage.
 21. A method as claimed in claim12, wherein said integrated circuit is categorised as belonging to agiven voltage domain of a plurality of different voltage domains withinsaid larger circuit or said end device respectively and said method isperformed for said given voltage domain.
 22. Operating voltage binningof integrated circuits.
 23. An apparatus comprising: an individualintegrated circuit; a storage module associated with said individualintegrated circuit storing an operating voltage and a required operatingfrequency for said individual integrated circuit, the operating voltagehaving been determined by: running said integrated circuit at saidrequired operating frequency; executing a test sequence of dataprocessing operations on said integrated circuit to exercise criticalpaths of said integrated circuit at each of at least a subset of a setof test voltages, wherein successful execution of said test sequence ata given test voltage indicates that said integrated circuit can reliablysustain said required operating frequency at said given test voltage;identifying a lowest test voltage from said subset of test voltages forwhich said test sequence was successfully executed; determining saidoperating voltage for said individual integrated circuit at saidrequired operating frequency in dependence upon said lowest testvoltage.
 24. An apparatus as claimed in claim 23, wherein an operatingvoltage is determined for each of a plurality of required operatingfrequencies.
 25. An apparatus as claimed in claim 23, wherein said testsequence is one of: a sequence of data processing instructions; and asequence of test signals applied to said integrated circuit.
 26. Anapparatus as claimed in claim 23, wherein said operating voltageincludes a supply level voltage.
 27. An apparatus as claimed in claim23, wherein said operating voltage includes a body bias voltage.
 28. Anapparatus as claimed in claim 23, wherein said operating voltage isdetermined such that it is higher than said lowest operating voltage byat least a predetermined margin.
 29. An apparatus as claimed in claim23, wherein said subset of test voltages is derived from said set oftest voltages by first executing said test sequence at a highest voltageof said set of test voltages and progressively reducing said testvoltage and executing said test sequence until a test voltage of saidset of test voltages is encountered at which successful execution ofsaid test sequence fails.
 30. An apparatus as claimed in claim 23,wherein said operating voltage and said required operating frequency arestored in a storage module associated with said integrated circuit. 31.An apparatus as claimed in claim 30, wherein said storage module isprogrammable read only memory.
 32. An apparatus as claimed in claim 30,wherein said storage module is a bar code applied to packaging of saidindividual integrated circuit.
 33. An apparatus as claimed in claim 23,wherein said method is performed upon fabrication of said integratedcircuit prior to incorporating said integrated circuit within a largercircuit.
 34. An apparatus as claimed in claim 23, wherein said method isperformed upon coupling said integrated circuit to further circuitelements within a larger circuit.
 35. An apparatus as claimed in claim23, wherein said method is performed whilst said integrated circuit isincorporated within an end device.
 36. An apparatus as claimed in claim35 wherein said method is performed at at least one of: a first boot ofsaid end device; and every boot of said end device.
 37. An apparatus asclaimed in claim 35, wherein said method is performed periodicallyduring operation of said end device.
 38. An apparatus as claimed inclaim 35, wherein said method is performed upon detection of one or morepredetermined operating conditions of said end device.
 39. An apparatusas claimed in claim 37, wherein a state of said end device is savedprior to performing said method and said state is restored once saidoperating voltage has been determined.
 40. An apparatus as claimed inclaim 38, wherein said predetermined operating conditions comprisewhether said end device is operating from a mains power supply or abattery power supply.
 41. An apparatus as claimed in claim 37, whereinsaid method is performed upon detection of a predetermined temperaturechange of said end device.
 42. An apparatus as claimed in claim 37,wherein said end. device comprises a battery operable to supply power tosaid end device and said end device can be set to a standby mode, saidmethod comprising the steps of: setting said integrated circuit to astandby state; testing said integrated circuit at each of a set of testbody bias voltages to identify a test body bias voltage that results ina lowest leakage current for a current charge level of said battery;setting an operational body bias voltage in said standby mode independence upon said identified test body bias voltage.
 43. An apparatusas claimed in claim 36 wherein said integrated circuit is categorised asbelonging to a given voltage domain of a plurality of different voltagedomains within said larger circuit or said end device respectively andsaid method is performed for said given voltage domain.
 44. A computerprogram product bearing a computer program for controlling a dataprocessing apparatus to determine an operating voltage for an individualintegrated circuit, said computer program comprising: frequency settingcode operable to run said integrated circuit at a required operatingfrequency; execution code operable to execute a test sequence of dataprocessing operations on said integrated circuit to exercise criticalpaths of said integrated circuit at each of at least a subset of a setof test voltages, wherein successful execution of said test sequence ata given test voltage indicates that said integrated circuit can reliablysustain said required operating frequency at said given test voltage;voltage identifying code operable to identify a lowest test voltage fromsaid subset of test voltages for which said test sequence wassuccessfully executed; and operating voltage determining code operableto determine said operating voltage for said individual integratedcircuit at said required operating frequency in dependence upon saidlowest test voltage.
 45. A computer program product as claimed in claim44, wherein said operating voltage determining code is operable todetermine an operating voltage for each of a plurality of requiredoperating frequencies.
 46. A computer program product as claimed inclaim 44, wherein said test sequence of said execution code is one of: asequence of data processing instructions; and a sequence of test signalsapplied to said integrated circuit.
 47. A computer program product asclaimed in claim 44, wherein said operating voltage determined by saidoperation voltage determining code includes a supply level voltage. 48.A computer program product as claimed in claim 44, wherein saidoperating voltage determined by said operation voltage determining codeincludes a body bias voltage.
 49. A computer program product as claimedin claim 44, wherein operation voltage determining code operatingvoltage is operable to determine said operating voltage such that it ishigher than said lowest operating voltage by at least a thresholdmargin.
 50. A computer program product as claimed in claim 44, whereinsaid subset of test voltages is derived from said set of test voltagesby first executing said test sequence at a highest voltage of said setof test voltages and progressively reducing said test voltage andexecuting said test sequence until a test voltage of said set of testvoltages is encountered at which successful execution of said testsequence fails.
 51. A computer program product as claimed in claim 44,comprising storage code operable to store said operating voltage andsaid required operating frequency in a storage module associated withsaid integrated circuit.
 52. A computer program product as claimed inclaim 51, wherein said storage module is programmable read only memory.53. A computer program product as claimed in claim 44, wherein saidcomputer program is executable upon fabrication of said integratedcircuit prior to incorporating said integrated circuit within a largercircuit.
 54. A computer program product as claimed in claim 44, whereinsaid computer program is executable upon coupling said integratedcircuit to further circuit elements within a larger circuit.
 55. Acomputer program product as claimed in claim 44, wherein said computerprogram is executable whilst said integrated circuit is incorporatedwithin an end device.
 56. A computer program product as claimed in claim55, wherein said computer program is executed at at least one of: afirst boot of said end device; and every boot of said end device.
 57. Acomputer program product as claimed in claim 55, wherein said computerprogram is executed periodically during operation of said end device.58. A computer program product as claimed in claim 55, wherein executionof said computer program is triggered upon detection of one or morepredetermined operation conditions of said end device.
 59. A computerprogram product as claimed in claim 55, wherein a state of said enddevice is saved prior to executing said computer program and said stateis restored once said operating voltage has been determined by saidoperating voltage determining code.
 60. A computer program product asclaimed in claim 55, wherein said predetermined operating conditionscomprise whether said end device is operating from a mains power supplyor a battery power supply.
 61. A computer program product as claimed inclaim 55, wherein execution of said computer program is triggered upondetection of a predetermined temperature change of said end device. 62.A computer program product as claimed in claim 55, wherein said enddevice includes a battery operable to supply power to said end deviceand said end device can be set to a standby mode, said method comprisingthe steps of: setting said integrated circuit to a standby state;testing said integrated circuit at each of a set of test body biasvoltages to identify a test body bias voltage that results in a lowestleakage current for a current charge level of said battery; setting anoperational body bias voltage in said standby mode in dependence uponsaid identified test body bias voltage.
 63. A computer program productas claimed in claim 54, wherein said integrated circuit is categorisedas belonging to a given voltage domain of a plurality of differentvoltage domains within said larger circuit or said end devicerespectively and said computer program is operable to determine saidoperating voltage for said integrated circuit operating within said saidgiven voltage domain.